package com.gxa.common.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="client_info",autoResultMap = true)
public class ClientInfo {
    @TableId(value = "client_info_id",type = IdType.AUTO)
    @ColumnWidth(20)
    @ExcelProperty("id")
    private Long clientInfoId;
    @ColumnWidth(20)
    @ExcelProperty("编号")
    private String clientNumber;
    @ColumnWidth(20)
    @ExcelProperty("姓名")
    private String clientName;
    @ColumnWidth(20)
    @ExcelProperty("拼音")
    private String clientNamePinyin;
    @ColumnWidth(20)
    @ExcelProperty("联系方式")
    private String clientPhone;
    @ColumnWidth(20)
    @ExcelProperty("职位")
    private String clientPosition;
    @ColumnWidth(20)
    @ExcelProperty("护照号")
    private String passportNumber;
    @ColumnWidth(20)
    @ExcelProperty("房产数量")
    private Long numberOfProperties;
}
